Skip to content

Update controller.rst #9539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2018
Merged

Update controller.rst #9539

merged 1 commit into from
Apr 3, 2018

Conversation

zairigimad
Copy link
Contributor

change the variable name to make it consistent with the example

change the variable name to make it consistent with the example
@javiereguiluz javiereguiluz changed the base branch from 4.0 to 2.7 April 3, 2018 06:54
@javiereguiluz
Copy link
Member

Thanks for fixing this! However, we made two changes. First, we merged this on 2.7 branch and we'll merge it up later to the other branches. Second, we renamed it to $number instead of $max because $max is supposedly the route param, but you pass the generated number to the template. Thanks!

@javiereguiluz javiereguiluz merged commit 6b738c9 into symfony:2.7 Apr 3, 2018
javiereguiluz added a commit that referenced this pull request Apr 3, 2018
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes #9539).

Discussion
----------

Update controller.rst

change the variable name to make it consistent with the example

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

Commits
-------

6b738c9 Update controller.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants